﻿using Autodesk.Windows;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Controls;
using System.Windows.Media.Imaging;

namespace FDEEMain
{
    public static class RibbonButtonInfos
    {
        //系统设置按钮
        private static RibbonButtonEX projectSettingBtn;
        public static RibbonButtonEX ProjectSettingBtn
        {
            get
            {
                projectSettingBtn = new RibbonButtonEX("设置", RibbonItemSize.Large, Orientation.Vertical, "SysSetting");
                projectSettingBtn.SetImg(CurPaht.curPaht + "Resources\\导入文件.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "设置";
                toolTip.Content = "设置";
                toolTip.Command = "SysSetting";
                toolTip.ExpandedContent = "用SysSetting命令，设置图幅图框";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\导入文件.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                projectSettingBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                projectSettingBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return projectSettingBtn;
            }
        }

        //PlotPileCap按钮
        private static RibbonButtonEX plotTableBtn;
        public static RibbonButtonEX PlotTableBtn
        {
            get
            {
                plotTableBtn = new RibbonButtonEX("承台表格绘制", RibbonItemSize.Large, Orientation.Vertical, "PlotTable");
                plotTableBtn.SetImg(CurPaht.curPaht + "Resources\\基础.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotTable";
                toolTip.Content = "承台表格绘制";
                toolTip.Command = "PlotTable";
                toolTip.ExpandedContent = "用PlotTable命令，绘制承台表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\基础.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotTableBtn;
            }
        }

        private static RibbonButtonEX plotPileTableBtn;
        public static RibbonButtonEX PlotPileTableBtn
        {
            get
            {
                plotPileTableBtn = new RibbonButtonEX("桩基表格绘制", RibbonItemSize.Large, Orientation.Vertical, "PlotPileTable");
                plotPileTableBtn.SetImg(CurPaht.curPaht + "Resources\\桩基.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotPileTable";
                toolTip.Content = "桩基表格绘制";
                toolTip.Command = "PlotPileTable";
                toolTip.ExpandedContent = "用PlotPileTable命令，绘制桩基表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\桩基.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotPileTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotPileTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotPileTableBtn;
            }
        }

        private static RibbonButtonEX plotBatchColumnTableBtn;
        public static RibbonButtonEX PlotBatchColumnTableBtn
        {
            get
            {
                plotBatchColumnTableBtn = new RibbonButtonEX("墩柱钢筋批量绘制", RibbonItemSize.Large, Orientation.Vertical, "PlotBatchColumnTable");
                plotBatchColumnTableBtn.SetImg(CurPaht.curPaht + "Resources\\钢筋算量.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotBatchColumnTable";
                toolTip.Content = "墩柱钢筋批量绘制";
                toolTip.Command = "PlotBatchColumnTable";
                toolTip.ExpandedContent = "用PlotBatchColumnTable命令，批量绘制墩柱钢筋表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\钢筋算量.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotBatchColumnTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotBatchColumnTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotBatchColumnTableBtn;
            }
        }

        private static RibbonButtonEX plotBatchBeamTableBtn;
        public static RibbonButtonEX PlotBatchBeamTableBtn
        {
            get
            {
                plotBatchBeamTableBtn = new RibbonButtonEX("盖梁钢筋批量绘制", RibbonItemSize.Large, Orientation.Vertical, "PlotBatchBeamTable");
                plotBatchBeamTableBtn.SetImg(CurPaht.curPaht + "Resources\\钢筋算量.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotBatchBeamTable";
                toolTip.Content = "盖梁钢筋批量绘制";
                toolTip.Command = "PlotBatchColumnTable";
                toolTip.ExpandedContent = "用PlotBatchBeamTable命令，批量绘制盖梁表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\钢筋算量.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotBatchBeamTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotBatchBeamTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotBatchBeamTableBtn;
            }
        }

        private static RibbonButtonEX plotCrossBeamTableBtn;
        public static RibbonButtonEX PlotCrossBeamTableBtn
        {
            get
            {
                plotBatchBeamTableBtn = new RibbonButtonEX("预应力批量绘制", RibbonItemSize.Large, Orientation.Vertical, "PlotCrossBeamListTable");
                plotBatchBeamTableBtn.SetImg(CurPaht.curPaht + "Resources\\预应力钢束.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotCrossBeamListTable";
                toolTip.Content = "盖梁预应力表格批量绘制";
                toolTip.Command = "PlotCrossBeamListTable";
                toolTip.ExpandedContent = "用PlotCrossBeamListTable命令，批量绘制盖梁预应力表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\预应力钢束.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotBatchBeamTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotBatchBeamTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotBatchBeamTableBtn;
            }
        }

        #region 垫石
        private static RibbonButtonEX plotPlinthTableBtn;
        public static RibbonButtonEX PlotPlinthTableBtn
        {
            get
            {
                plotPlinthTableBtn = new RibbonButtonEX("垫石坐标", RibbonItemSize.Large, Orientation.Vertical, "PlotPlinthTable");
                plotPlinthTableBtn.SetImg(CurPaht.curPaht + "Resources\\支座垫石.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotPlinthTable";
                toolTip.Content = "垫石坐标表格绘制";
                toolTip.Command = "PlotPlinthTable";
                toolTip.ExpandedContent = "用PlotPlinthTable命令，绘制垫石坐标表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\支座垫石.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotPlinthTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotPlinthTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotPlinthTableBtn;
            }
        }

        private static RibbonButtonEX plotPlinthDepthTableBtn;
        public static RibbonButtonEX PlotPlinthDepthTableBtn
        {
            get
            {
                plotPlinthTableBtn = new RibbonButtonEX("垫石信息", RibbonItemSize.Large, Orientation.Vertical, "PlotPlinthDepthTable");
                plotPlinthTableBtn.SetImg(CurPaht.curPaht + "Resources\\支座垫石.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotPlinthDepthTable";
                toolTip.Content = "垫石信息表格绘制";
                toolTip.Command = "PlotPlinthDepthTable";
                toolTip.ExpandedContent = "用PlotPlinthDepthTable命令，绘制垫石信息表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\支座垫石.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotPlinthTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotPlinthTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotPlinthTableBtn;
            }
        }
        #endregion

        #region 盖梁构造图
        private static RibbonButtonEX plotPlinthBtn;
        public static RibbonButtonEX PlotPlinthBtn
        {
            get
            {
                plotPlinthBtn = new RibbonButtonEX("盖梁构造", RibbonItemSize.Large, Orientation.Vertical, "PlotBatchPlinth");
                plotPlinthBtn.SetImg(CurPaht.curPaht + "Resources\\构造柱.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotBatchPlinth";
                toolTip.Content = "盖梁构造(常规墩)";
                toolTip.Command = "PlotBatchPlinth";
                toolTip.ExpandedContent = "用PlotBatchPlinth命令，绘制盖梁构造图";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\构造柱.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotPlinthBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotPlinthBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotPlinthBtn;
            }
        }

        private static RibbonButtonEX plotRampPlinthBtn;
        public static RibbonButtonEX PlotRampPlinthBtn
        {
            get
            {
                plotPlinthBtn = new RibbonButtonEX("花瓶盖梁构造", RibbonItemSize.Large, Orientation.Vertical, "PlotBatchRampPlinth");
                plotPlinthBtn.SetImg(CurPaht.curPaht + "Resources\\构造柱.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotBatchRampPlinth";
                toolTip.Content = "匝道盖梁构造(花瓶墩)";
                toolTip.Command = "PlotBatchPlinth";
                toolTip.ExpandedContent = "用PlotBatchPlinth命令，绘制匝道盖梁构造图";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\构造柱.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotPlinthBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotPlinthBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotPlinthBtn;
            }
        }
        #endregion

        #region 挡板
        private static RibbonButtonEX plotPlinthBlockTableBtn;
        public static RibbonButtonEX PlotPlinthBlockTableBtn
        {
            get
            {
                plotPlinthTableBtn = new RibbonButtonEX("挡板坐标", RibbonItemSize.Large, Orientation.Vertical, "PlotPlinthBlockTable");
                plotPlinthTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotPlinthBlockTable";
                toolTip.Content = "挡板坐标表格绘制";
                toolTip.Command = "PlotPlinthBlockTable";
                toolTip.ExpandedContent = "用PlotPlinthBlockTable命令，绘制挡板坐标表格";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotPlinthTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotPlinthTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotPlinthTableBtn;
            }
        }

        private static RibbonButtonEX plotPlinthBlockDepthTableBtn;
        public static RibbonButtonEX PlotPlinthBlockDepthTableBtn
        {
            get
            {
                plotPlinthTableBtn = new RibbonButtonEX("T梁挡板钢筋及高度", RibbonItemSize.Large, Orientation.Vertical, "PlotPlinthBlockDepthTable");
                plotPlinthTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotPlinthBlockDepthTable";
                toolTip.Content = "T梁挡板钢筋及厚度";
                toolTip.Command = "PlotPlinthBlockDepthTable";
                toolTip.ExpandedContent = "用PlotPlinthBlockDepthTable命令，绘制T梁挡板钢筋及厚度";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotPlinthTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotPlinthTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotPlinthTableBtn;
            }
        }

        private static RibbonButtonEX plotBlockDepthTableBtn;
        public static RibbonButtonEX PlotBlockDepthTableBtn
        {
            get
            {
                plotBlockDepthTableBtn = new RibbonButtonEX("I梁挡板高度", RibbonItemSize.Large, Orientation.Vertical, "PlotBlockDepthTable");
                plotBlockDepthTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotBlockDepthTable";
                toolTip.Content = "I梁挡板高度";
                toolTip.Command = "PlotPlinthBlockDepthTable";
                toolTip.ExpandedContent = "用PlotBlockDepthTable命令，绘制I梁挡板高度";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotBlockDepthTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotBlockDepthTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotBlockDepthTableBtn;
            }
        }

        private static RibbonButtonEX plotBlockRebarTableBtn;
        public static RibbonButtonEX PlotBlockRebarTableBtn
        {
            get
            {
                plotBlockRebarTableBtn = new RibbonButtonEX("I梁挡板钢筋", RibbonItemSize.Large, Orientation.Vertical, "PlotBlockRebarTable");
                plotBlockRebarTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotBlockRebarTable";
                toolTip.Content = "I梁挡板钢筋";
                toolTip.Command = "PlotBlockReberTable";
                toolTip.ExpandedContent = "用PlotBlockRebarTable命令，绘制I梁挡板钢筋算量";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotBlockRebarTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotBlockRebarTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotBlockRebarTableBtn;
            }
        }

        #endregion

        #region CAD实用工具
        private static RibbonButtonEX compareBtn;
        public static RibbonButtonEX CompareBtn
        {
            get
            {
                compareBtn = new RibbonButtonEX("DWG对比", RibbonItemSize.Large, Orientation.Vertical, "COMPARE");
                compareBtn.SetImg(CurPaht.curPaht + "Resources\\对比.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "COMPARE";
                toolTip.Content = "DWG对比";
                toolTip.Command = "COMPARE";
                toolTip.ExpandedContent = "用COMPARE命令，进行DWG对比";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\对比.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                compareBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                compareBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return compareBtn;
            }
        }

        #endregion

        #region 桥面板
        private static RibbonButtonEX plotDeckSlabTableBtn;
        public static RibbonButtonEX PlotDeckSlabTableBtn
        {
            get
            {
                plotDeckSlabTableBtn = new RibbonButtonEX("桥面板信息", RibbonItemSize.Large, Orientation.Vertical, "PlotDeckSlabTable");
                plotDeckSlabTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotDeckSlabTable";
                toolTip.Content = "桥面板信息";
                toolTip.Command = "PlotDeckSlabTable";
                toolTip.ExpandedContent = "用PlotDeckSlabTable命令，绘制桥面板信息表";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotDeckSlabTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotDeckSlabTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotDeckSlabTableBtn;
            }
        }
        private static RibbonButtonEX plotDeckSlabRebarTableBtn;
        public static RibbonButtonEX PlotDeckSlabRebarTableBtn
        {
            get
            {
                plotDeckSlabRebarTableBtn = new RibbonButtonEX("T梁现浇板", RibbonItemSize.Large, Orientation.Vertical, "PlotDeckSlabRebarTable");
                plotDeckSlabRebarTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotDeckSlabRebarTable";
                toolTip.Content = "T梁现浇板";
                toolTip.Command = "PlotDeckSlabTable";
                toolTip.ExpandedContent = "用PlotDeckSlabRebarTable命令，绘制T梁现浇板钢筋表";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotDeckSlabRebarTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotDeckSlabRebarTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotDeckSlabRebarTableBtn;
            }
        }
        private static RibbonButtonEX plotRCPlatRebarTableBtn;
        public static RibbonButtonEX PlotRCPlatRebarTableBtn
        {
            get
            {
                plotRCPlatRebarTableBtn = new RibbonButtonEX("混凝土预制板", RibbonItemSize.Large, Orientation.Vertical, "PlotRCPlatRebarTable");
                plotRCPlatRebarTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotRCPlatRebarTable";
                toolTip.Content = "混凝土预制板钢筋";
                toolTip.Command = "PlotRCPlatRebarTable";
                toolTip.ExpandedContent = "用PlotRCPlatRebarTable命令，绘制混凝土预制板钢筋表";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotRCPlatRebarTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotRCPlatRebarTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotRCPlatRebarTableBtn;
            }
        }

        private static RibbonButtonEX plotSCPlatRebarTableBtn;
        public static RibbonButtonEX PlotSCPlatRebarTableBtn
        {
            get
            {
                plotSCPlatRebarTableBtn = new RibbonButtonEX("I梁三角区", RibbonItemSize.Large, Orientation.Vertical, "PlotSCPlatRebarTable");
                plotSCPlatRebarTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotSCPlatRebarTable";
                toolTip.Content = "I梁三角区";
                toolTip.Command = "PlotDeckSlabTable";
                toolTip.ExpandedContent = "用PlotDeckSlabRebarTable命令，绘制I梁三角区钢筋表";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotSCPlatRebarTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotSCPlatRebarTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotSCPlatRebarTableBtn;
            }
        }


        //private static RibbonButtonEX plotDeckSlabCurveRebarTableBtn;
        //public static RibbonButtonEX PlotDeckSlabCurveRebarTableBtn
        //{
        //    get
        //    {
        //        plotDeckSlabCurveRebarTableBtn = new RibbonButtonEX("I梁现浇板-圆弧段", RibbonItemSize.Large, Orientation.Vertical, "PlotDeckSlabCurveRebarTable");
        //        plotDeckSlabCurveRebarTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
        //        //添加提示对象
        //        RibbonToolTip toolTip = new RibbonToolTip();
        //        toolTip.Title = "PlotDeckSlabCurveRebarTable";
        //        toolTip.Content = "I梁现浇板-圆弧段";
        //        toolTip.Command = "PlotDeckSlabCurveRebarTable";
        //        toolTip.ExpandedContent = "用PlotDeckSlabCurveRebarTablele命令，绘制I梁现浇板-圆弧段钢筋表";
        //        string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
        //        Uri toolTipUri = new Uri(imgToolTipFileName);
        //        BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
        //        toolTip.ExpandedImage = toolTipBitmapImge;
        //        plotDeckSlabCurveRebarTableBtn.ToolTip = toolTip;
        //        //鼠标进入时的图片
        //        plotDeckSlabCurveRebarTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
        //        return plotDeckSlabCurveRebarTableBtn;
        //    }
        //}
        #endregion

        #region  excel2CAD
        private static RibbonButtonEX plotExcel2CADRebarTableBtn;
        public static RibbonButtonEX PlotExcel2CADRebarTableBtn
        {
            get
            {
                plotExcel2CADRebarTableBtn = new RibbonButtonEX("Excel2CAD", RibbonItemSize.Large, Orientation.Vertical, "PlotExcel2CADRebarTable");
                plotExcel2CADRebarTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotExcel2CADRebarTable";
                toolTip.Content = "Excel2CAD";
                toolTip.Command = "PlotExcel2CADRebarTable";
                toolTip.ExpandedContent = "用PlotExcel2CADRebarTable命令，导入Excel生成钢筋表";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotExcel2CADRebarTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotExcel2CADRebarTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotExcel2CADRebarTableBtn;
            }
        }

        private static RibbonButtonEX plotExcel2PositionBarrierTableBtn;
        public static RibbonButtonEX PlotExcel2PositionBarrierTableBtn
        {
            get
            {
                plotExcel2PositionBarrierTableBtn = new RibbonButtonEX("护栏参数表", RibbonItemSize.Large, Orientation.Vertical, "PlotExcel2PositionBarrierTable");
                plotExcel2PositionBarrierTableBtn.SetImg(CurPaht.curPaht + "Resources\\挡块.PNG");//设置按钮图片
                //添加提示对象
                RibbonToolTip toolTip = new RibbonToolTip();
                toolTip.Title = "PlotExcel2PositionBarrierTable";
                toolTip.Content = "护栏参数表";
                toolTip.Command = "PlotExcel2PositionBarrierTable";
                toolTip.ExpandedContent = "用PlotExcel2PositionBarrierTable命令，导入Excel生成护栏参数表";
                string imgToolTipFileName = CurPaht.curPaht + "Resources\\挡块.PNG";
                Uri toolTipUri = new Uri(imgToolTipFileName);
                BitmapImage toolTipBitmapImge = new BitmapImage(toolTipUri);
                toolTip.ExpandedImage = toolTipBitmapImge;
                plotExcel2PositionBarrierTableBtn.ToolTip = toolTip;
                //鼠标进入时的图片
                plotExcel2PositionBarrierTableBtn.ImgHoverFileName = CurPaht.curPaht + "Resources\\点击.PNG";
                return plotExcel2PositionBarrierTableBtn;
            }
        }
        
        #endregion
    }
}